﻿
using NB.MGJ.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NB.MGJ.Model
{
    /// <summary>
    /// 奖池
    /// </summary>
    public class Marketing_Jackpot
    {

        /// <summary>
        ///  
        /// </summary>
        [Property("Key")]
        public int? Id { get; set; }

        /// <summary>
        ///  类型1红包2优惠券3流量包
        /// </summary>
        public int? Type { get; set; }

 

        /// <summary>
        ///  奖池名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        ///  使用条件
        /// </summary>
        public int? UseCondition { get; set; }

        /// <summary>
        ///  备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        ///  发放数量
        /// </summary>
        public int? TotalNums { get; set; }

        /// <summary>
        ///  总金额
        /// </summary>
        public decimal TotalMoney { get; set; }

        /// <summary>
        ///  剩余数量
        /// </summary>
        public int? ResidueNums { get; set; }

        /// <summary>
        ///  剩余金额
        /// </summary>
        public decimal ResidueMoney { get; set; }

        /// <summary>
        ///  商城1码管家云商城2淘宝3天猫4京东5苏宁6其他枚举值在程序中的MarketingMallenum
        /// </summary>
        public int? Mall { get; set; }

        /// <summary>
        ///  优惠券类型0代金券1折扣券枚举在程序中存在红包类型手气红包0普通红包1
        /// </summary>
        public int? CouponType { get; set; }

        /// <summary>
        ///  面额
        /// </summary>
        public decimal Denomination { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public decimal MaxDenomination { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public decimal MinDenomination { get; set; }

        /// <summary>
        ///  优惠券有效开始日期
        /// </summary>
        public DateTime? StartDate { get; set; }

        /// <summary>
        ///  优惠券有效截至日期
        /// </summary>
        public System.DateTime? EndDate { get; set; }

        /// <summary>
        ///  优惠券链接
        /// </summary>
        public string ShopUrl { get; set; }

        /// <summary>
        ///  是否授权1已授权0未授权
        /// </summary>
        public int? IsAuthorization { get; set; }

        /// <summary>
        ///  机构编号
        /// </summary>
        public int? EnterpriseId { get; set; }

        /// <summary>
        ///  启用1停用0
        /// </summary>
        public int? ViewFlag { get; set; }

        /// <summary>
        ///  删除状态0未删除1已删除
        /// </summary>
        public int? ViewDel { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public int? Sequence { get; set; }

   
        /// <summary>
        ///  
        /// </summary>
        public int? ChangeLoginID { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public string ChangeLoginName { get; set; }

        /// <summary>
        ///  
        /// </summary>
        public System.DateTime ChangeDate { get; set; }

        /// <summary>
        /// 联通
        /// </summary>
        public int? DataID1_LT { get; set; }

        /// <summary>
        /// 移动
        /// </summary>
        public int? DataID2_YD { get; set; }

        /// <summary>
        /// 电信
        /// </summary>
        public int? DataID3_DX { get; set; }
       
      
    }

}











